// import Layout from '@/apps/member/Layout/Layout.vue'
const routes = {
  path: '/order',
  meta: { requiresAuth: true },
  component: () => import('@/layout/Empty.vue'),
  children: [
    {
      path: 'addtocart',
      name: 'AddToCart',
      props: { default: true },
      meta: {},
      components: {
        default: () => import('@/apps/member/views/Order/AddToCart.vue')
      }
    },
    {
      path: 'shopcart',
      name: 'ShopCart',
      meta: {},
      components: {
        default: () => import('@/apps/member/views/Order/ShopCart.vue')
      }
    },
    {
      path: 'submit',
      name: 'OrderSubmit',
      meta: {},
      props: { default: true },
      components: {
        default: () => import('@/apps/member/views/Order/Submit.vue')
      }
    },
    {
      path: 'payment',
      name: 'OrderPayment',
      meta: {},
      props: { default: true },
      components: {
        default: () => import('@/apps/member/views/Order/Payment.vue')
      }
    },
    {
      path: 'success',
      name: 'OrderSuccess',
      meta: {},
      components: {
        default: () => import('@/apps/member/views/Order/Success.vue')
      }
    }
  ]
}
export default routes
